﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;
using UnityEditor;

namespace ProjScan.ScanRule.ProjectAssets.Material
{
	// Token: 0x020001EB RID: 491
	[MaterialRuleAttr]
	internal class Mat_EmptyTex : RecordRuleImp<MaterialAssetData, MaterialRecordManager>
	{
		// Token: 0x06000EE1 RID: 3809 RVA: 0x00042AC0 File Offset: 0x00040CC0
		protected override bool IsOK(MaterialAssetData assetData)
		{
			bool flag = !assetData.ShaderName.Equals("Standard");
			if (flag)
			{
				foreach (MaterialProperty materialProperty in assetData.MaterialProperties)
				{
					bool flag2 = materialProperty.textureValue == null;
					if (flag2)
					{
						return false;
					}
				}
			}
			return true;
		}
	}
}
